#-*- coding:utf-8 -*-
import logging
import logging.config

# 导入配置文件
logging.config.fileConfig("logging.conf")


rootlogger=logging.getLogger()
rootlogger.debug("this is a root debug")

applogger=logging.getLogger("applog")
applogger.debug("this is a applog debug")

